package com.springdemo.eurekaclient.controller

import com.springdemo.eurekaclient.EurekaClientApplication
import org.springframework.beans.factory.annotation.Value
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
class MyController {

    @Value('${name}')
    String name

    @RequestMapping('get')
    String get (){
        name
    }
}
